package com.youlai.system.model.vo;

import com.youlai.system.model.entity.CarUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Schema(description = "广告实体维护")
@Data
public class CarAdPageVO {

    private Integer adId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 发布时间
     */
    private Date createDate;

    /**
     * 0:待联系 1：联系中 2：完成 3：驳回
     */
    private String status;

    /**
     * 广告内容
     */
    private String adContent;

    private String adDesc;

    @Schema(description="经度")
    private String longitude;

    @Schema(description="纬度")
    private String latitude;

    @Schema(description="发布用户信息")
    private CarUser carUser;

    private String adImg;

    private String province;

    private String city;

    private String ranges;

    private String area;

    @Schema(description="投放开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")

    private String adStartDate;

    @Schema(description="投放结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String adEndDate;


    @Schema(description="车辆信息")
    private String carAuthBrand;

    private String type;

    private String telephone;

    private String weChat;

    private String remark;



    private Integer totalLikes;

    private Integer countLikes;


}
